package com.eastfair.projectcore.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 电子橱窗点位表
 * </p>
 *
 * @author ligang
 * @since 2021-08-09
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "HotImagePointSaveDTO", description = "电子橱窗点位表")
public class HotImagePointSaveDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 点位序号
     */
    @ApiModelProperty(value = "点位序号")
    private Integer pointIndex;
    /**
     * 点位x坐标
     */
    @ApiModelProperty(value = "点位x坐标")
    @NotNull(message = "请填写点位x坐标")
    private Integer cdnX;
    /**
     * 点位y坐标
     */
    @ApiModelProperty(value = "点位y坐标")
    @NotNull(message = "请填写点位y坐标")
    private Integer cdnY;
    /**
     * 关联产品id
     */
    @ApiModelProperty(value = "关联产品id")
    private Long productId;
    /**
     * 展商id
     */
    @ApiModelProperty(value = "展商id")
    private Long exhibitorId;
    /**
     * 展会id
     */
    @ApiModelProperty(value = "展会id")
    private Long exhibitionId;
    /**
     * 关联热图id
     */
    @ApiModelProperty(value = "关联热图id")
    @NotNull(message = "请填写关联热图id")
    private Long hotImageId;
    /**
     * 是否生效(默认1：可用 0:不可用)
     */
    @ApiModelProperty(value = "是否生效(默认1：可用 0:不可用)")
    private Integer enabled;
    /**
     * 是否删除(默认0：未删除 1:已删除)
     */
    @ApiModelProperty(value = "是否删除(默认0：未删除 1:已删除)")
    private Integer deleted;

}
